﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Collections;

namespace MyClass.MyThread
{
    public class SQLThread 
    {
        //ArrayList SQLList;
        //Thread th;
        //public SQLThread(bool isGroup)
        //{
        //    SQLList = new ArrayList();
        //    th = isGroup ? new Thread(new ThreadStart(GroupProcess)) : new Thread(new ThreadStart(Process));

        //}

        //public void Add(string sql)
        //{ 
        //    SQLList.Add (sql);
        //}

        //public void RemoveAt(int index)
        //{ 
        //    SQLList.RemoveAt(index);
        //}

        //public  void Start()
        //{
        //    th.Start();
        //}
        //public void Stop()
        //{
        //    th.Abort();
        //}

        //public void Process()
        //{
          
        //}
        //public void GroupProcess()
        //{
        //    StringBuilder sb = new StringBuilder();
        //    foreach(object o in SQLList)
        //    {
        //       sb.Append(" "+o.ToString()+" ");
        //    }
        //}
    
    }
}
